package cn.springcloud.alibaba.tms.feign;

import cn.springcloud.alibaba.core.base.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;

@FeignClient(name = "tms-server", path = "/v1/api/menu")
public interface SysMenuFeignClient {

	@PostMapping
	Result<String> addSysMenu();

	@PutMapping
	Result<String> updateSysMenu();

	@DeleteMapping
	Result<String> deleteSysMenu();
}
